<!doctype html>
<html class="no-js">
<head>
      <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>72拼团</title>
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <!-- No Baidu Siteapp-->
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!-- Add to homescreen for Chrome on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <!-- Add to homescreen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="72拼团" />
    <meta name="msapplication-TileColor" content="">
    <link rel="stylesheet" href="css/css_style.css">
    <script src="../../script/zepto.min.js"></script>
</head>
<script type="text/javascript">

   $(function(){
   	  //执行showTime()  
	  showTime();  
   });

	//设定倒数秒数  
	var t = 10;  
	//显示倒数秒数  
	function showTime(){  
		
	    t -= 1;  
	    
	    document.getElementById('showtimes').innerHTML= t;  
	    
	    if(t==0){  
	        location.href='/wx/pgroup/index';  
	    }  
	    //每秒执行一次,showTime()  
	    setTimeout("showTime()",1000);  
	}  
	
	
	
	
</script>

<body>




<div class="am-g" style="margin-top:50px;text-align: center">
	
		<%if(locals.isSuccess){%>
			<div class="am-u-sm-12" style="color:green;font-size:30px;">
				<i class="am-icon-check"></i>
				<%=locals.paystatus%>
			</div>
			
			<div class="am-u-sm-12" style="text-align: center;margin-top:20px;">
				<span id="showtimes">10</span> 秒钟后自动返回首页
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				
				<a href="/wx/pgroup/index">立即返回</a>
				
			</div>
			
		<%}else{%>
			<div class="am-u-sm-12" style="color:red;font-size:30px;">
				<i class="am-icon-remove"></i>
				<%=locals.errMessage%>
			</div>
			
			<div class="am-u-sm-12" style="color: red;margin-top:20px;text-align:center;">
				   <span id="showtimes">10</span> 秒钟后自动返回首页
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					
					<a href="/wx/pgroup/index">立即返回</a>
			</div>
			
			
			
			
		<%}%>
		
	
	
</div>
</body>
</html>
